211 Commits
Author SHA1 Message Date
Nic a1949f1610 fix: preserve Windows paths in quoted Java arguments
splitArgs treated any backslash inside quotes as an escape character,
so a quoted Windows path such as -Dorg.lwjgl.glfw.libname="C:\Users\..."
lost its path separators before reaching the JVM, causing
java.nio.file.InvalidPathException at launch.

A backslash inside quotes now only escapes the matching quote or
another backslash, keeping escaped quotes functional while leaving
Windows path separators intact.

Signed-off-by: Nic <73386479+nicyoong@users.noreply.github.com>
2026-09-12 09:33:02 +08:00
Trial97 59ceae7ea6 refactor(net): rename NetRequest to Request
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-08-12 22:19:24 +03:00
Octol1ttle bc78c0912f change(tests/ResourceFolderModel): increase timeout to 10 seconds
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-07 18:55:08 +05:00
Octol1ttle c31888cce7 code quality: remove contextless connects
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-05 20:22:14 +05:00
desvaters dad7fe7721 Fix WARN/ERROR lines not being colored in the Other Logs tab
guessLevel() required the log line's timestamp bracket to contain only
digits and colons, so it never matched real log4j output that includes
a full date and milliseconds (e.g. "[23Jul2026 18:12:07.877] [main/WARN]
[...]"). Lines fell through to Unknown level and were left uncolored,
even with "Color lines" enabled. The live "Minecraft Log" console tab
wasn't affected since it gets levels from log4j's XML event stream
instead of this text heuristic.

Signed-off-by: desvaters <71886240+desvaters@users.noreply.github.com>
2026-07-27 15:08:28 +02:00
Trial97 c8f23c691a wrap enum
This should improve the boilerplate needed to define enums with methods

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-13 10:18:55 +03:00
Trial97 bac959bc6f chore(clang-tidy): fix clang tidy warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-09 23:26:21 +03:00
Trial97 087ffb26ba clang-tidy: fix warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-04-03 14:39:27 +03:00
Trial97 8427626e56 add modrinth pre-release support to flexVer implementation
extended the flexVer implementation to consider any space that is after
a numeric section as a pre-release.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-04-03 13:59:06 +03:00
Trial97 5a0931d3cf fix heap overflow with unstable version comparation
fixes #5210
fixes #5251 (the removeDuplicates line)

The issue was mostly with the Version parsing and compring
implementation.
Refactored that based on the https://git.sleeping.town/exa/FlexVer
examples.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-04-03 13:59:06 +03:00
Octol1ttle 838687fb2e fix: log error if file open/commit fails
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-23 01:07:05 +05:00
Rachel Powers 8855e16230 tests: remove testsdata symlinks
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-02-23 12:40:26 -07:00
Octol1ttle 584dc47da5 chore: remove double spaces from logs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 19:15:27 +05:00
Rachel Powers d1b6d7c402 chore: Re-simplify IndexVersionType and MessageLevel with c++20
This sets our compiler requirements to gcc 11 and clang 13. If we
forgo the use of `using enum` we can drop to gcc 10 and clang 10 but
that means using `MessageLevel::Enum::Unknown` for direct enum access

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-11 09:59:33 -07:00
TheKodeToad 4f5e348b66 Merge branch 'develop' into fix-log-level-bleed
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-08 09:21:27 +00:00
TheKodeToad 0853afe274 Fix tests
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-07 16:40:18 +00:00
TheKodeToad fd3ae85d45 Simplify MessageLevel::Enum -> MessageLevel
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-07 13:15:22 +00:00
TheKodeToad c018b60816 Only continue log level if line starts with whitespace; reintroduce exception detection
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-05 12:38:21 +00:00
Alexandru Ionut Tripon 7ca8556211 Fix issues with log level handling (#4254) 2025-11-16 18:13:12 +02:00
Dylan Schooner 8d42bdaf6b Check return value of 'virtual bool QFile::open(QIODeviceBase::OpenMode)'
Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-10-30 03:15:14 -04:00
TheKodeToad 8fddc353d5 Fix tests
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-10-25 15:14:32 +01:00
TheKodeToad d626604b5e Fix issues with log level handling and clean up code
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-10-25 14:20:15 +01:00
Trial97 29cff14fd6 removed some duplicate code
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-09-15 18:25:07 +03:00
Trial97 634a5d18c4 fix tests
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-08-21 15:14:05 +03:00
TheKodeToad e14b18ca71 Fix tests (oops)
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-08-04 15:31:38 +01:00
TheKodeToad d7eddd3773 Replace IPathMatcher stuff with Filter
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-08-04 15:03:22 +01:00
Alexandru Ionut Tripon e043242a8e Reduce usage of [[nodiscard]] attributes (#3952) 2025-07-22 13:30:45 +03:00
timoreo 37a9271d5b propagate side as enum instead of Qstring (#3544) 2025-07-09 10:01:51 +02:00
TheKodeToad 29d73a474f Reduce usage of [[nodiscard]] attributes
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-07-07 20:56:29 +01:00
Tayou a17ea196c1 chore: fix some codeql warnings (#3840) 2025-06-06 14:19:27 +02:00
Yihe Li c57ba911cf Remove unnecessary QObject::
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 21:41:06 +08:00
Trial97 7ea15c31a1 chore: fix some codeql warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-05 09:45:25 +03:00
Trial97 be963764ea propagate side as enum instead of Qstring
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 13:26:42 +03:00
Alexandru Ionut Tripon 52fa074ff7 Make column visibility global (#3748) 2025-06-02 12:45:03 +03:00
Trial97 7e174f53af chore: add migration for old QByteArray to base64
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 11:40:48 +03:00
TheKodeToad fadbcf2d04 Merge remote-tracking branch 'upstream/develop' into data-packs
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-04-29 09:15:11 +01:00
Alexandru Ionut Tripon 6b4f07e976 Add checkboxes to resource downloader (#3516) 2025-04-29 08:32:30 +03:00
Rachel Powers 21570a03fb feat(xml-logs): finish tests
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-04-19 13:02:30 -07:00
Rachel Powers bfdc77665d feat(xml-logs): add tests
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-04-19 12:54:45 -07:00
Trial97 4361aaa094 remove ghc_filesystem
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-10 22:38:55 +03:00
TheKodeToad 36ceaebcf0 pls compile
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-26 01:50:05 +00:00
TheKodeToad 7bac7f7b2b Actually fix build?
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-26 01:32:17 +00:00
TheKodeToad e22930fabf Fix build
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-26 01:08:05 +00:00
Trial97 f7fd6f566f chore:fixed some codeql warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-03-24 22:25:35 +02:00
TheKodeToad 900579eea6 Handle checkbox toggle
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-19 01:17:25 +00:00
Trial97 23ffc4d8b9 Refactor ResourcePack
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-12-19 10:42:42 +02:00
timoreo 736ecf266d Merge pull request #3019 from Trial97/task_parent
fixed double deletion for tasks
2024-11-15 06:19:40 +01:00
Trial97 2b590f24ed remove task parent from constuctor
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-01 00:11:45 +02:00
Trial97 0e80aae1b8 Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into lambda 2024-10-30 19:35:25 +02:00
Trial97 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