Commit Graph

5010 Commits

Author SHA1 Message Date
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
iTrooz 0d830e56e9 replace std::runtime_exception with PrismLauncher Exception + add try/catch 2024-11-17 19:10:15 +01:00
iTrooz 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
iTrooz cba7e2dc36 use std::optional<> to signify when there is no value 2024-11-17 19:10:15 +01:00
iTrooz 6a7678a6e9 Actually show online players when clicking on the button 2024-11-17 19:10:15 +01:00
iTrooz 0a379a05ff replace my printf calls with qDebug 2024-11-17 19:10:15 +01:00
iTrooz 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
iTrooz 87c9066a2b run the code in tasks 2024-11-17 19:10:15 +01:00
iTrooz ea2a2349f8 make splitAddress() const 2024-11-17 19:10:15 +01:00
iTrooz 2f70115be5 add debug print 2024-11-17 19:10:15 +01:00
iTrooz 8fa1dff17d remove space 2024-11-17 19:10:15 +01:00
iTrooz 99ac11bc40 add my classes to CMakeLists 2024-11-17 19:10:15 +01:00
iTrooz ee35ac5afd add method queryStatus() to servers and use it on click 2024-11-17 19:10:15 +01:00
iTrooz 43a54cafef add my classes 2024-11-17 19:10:15 +01:00
iTrooz fac521a312 Add dummy UI button 2024-11-17 19:10:15 +01:00
Awqre 3c88eccf17 Merge branch 'PrismLauncher:develop' into develop 2024-11-17 08:19:35 +00:00
TheKodeToad 48235f5b71 Merge pull request #3083 from Trial97/fix_resource_search
Fix resource search
2024-11-15 23:09:28 +00:00
timoreo 736ecf266d Merge pull request #3019 from Trial97/task_parent
fixed double deletion for tasks
2024-11-15 06:19:40 +01:00
timoreo b2a37452be Merge pull request #3024 from Trial97/leak
fix leak on resource search
2024-11-15 06:18:33 +01:00
timoreo 54f2e75b9d Merge pull request #3070 from TheKodeToad/general-scrollbar
Add scrollbar to Settings -> Launcher -> Features
2024-11-15 06:16:54 +01:00
timoreo f7620a43aa Merge pull request #3094 from Trial97/remove_resource_warning
Fix warnings regarding Resource static cast
2024-11-15 06:15:55 +01:00
Trial97 ce61ed2f86 Fix file remaingin open after program closure
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-14 13:27:16 +02:00
Trial97 172e43cd3f Fix warnings regarding Resource static cast
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-13 23:11:33 +02:00
Awqre 9f0b2bafd8 Further additional even better(er) compression
Truly unprecedented levels of optimization we're reaching here. (OxiPNG/ZopfliPNG/ECT/DeflOpt)

Signed-off-by: Awqre <32497511+Awqre@users.noreply.github.com>
2024-11-13 14:31:20 -05:00
txtsd 03b34e39f8 feat: Compression script with compressed images
Also modified genicons.sh

Signed-off-by: txtsd <code@ihavea.quest>
2024-11-13 19:04:31 +05:30
Awqre 885fc66c14 Lossless image compression
Applied lossless zopfli/ect/deflopt compression to PNG files including ones contained in ICO files.

Repacked ICO files with optidash icopack

Signed-off-by: Awqre <32497511+Awqre@users.noreply.github.com>
2024-11-12 20:17:17 -05:00
Trial97 66883db645 Fix removed signal handler for filter resource
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-09 23:30:04 +02:00
Alexandru Ionut Tripon 1d9508c268 Merge pull request #3074 from Trial97/lock
Close the window using the invokeMethod to not block
2024-11-07 23:45:44 +02:00
Alexandru Ionut Tripon 7d03cb114d Merge pull request #3031 from Trial97/lambda
do not capture by default all values in lambdas
2024-11-07 23:45:31 +02:00
Tayou 2fcf03ead3 Merge pull request #3036 from Trial97/typo4 2024-11-07 17:30:47 +01:00
TheKodeToad 012bbca197 JavaSettingsWidget -> JavaWizardWidget
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-11-07 14:51:43 +00:00
TheKodeToad 8132828ad7 Phrasing fix
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-11-07 13:36:33 +00:00
Trial97 9601fbf2d5 Close the window using the invokeMethod to not block
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-07 15:07:17 +02:00
TheKodeToad e06b3e7a7a Implement open global settings
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-11-07 00:47:32 +00:00
TheKodeToad 223b6b3b2b Fix non-Linux build
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-11-07 00:22:22 +00:00
TheKodeToad 71e55f8829 Add scrollbar to Settings -> Launcher -> Features
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-11-07 00:11:27 +00:00
TheKodeToad e6d4e5d78d Unify instance and global settings pt.1
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-11-06 23:46:30 +00:00
Alexandru Ionut Tripon 4a92573235 Merge pull request #3042 from Trial97/isportable
use isPortable to determine if the MSAStep should check for url handler
2024-11-03 11:55:55 +02:00
Trial97 6f2f3c2d3b disable retry for modrinth currentVersions API
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-01 17:34:29 +02:00