Commit graph

11296 commits

Author SHA1 Message Date
TheKodeToad
ab9b070f9f
Link ASan the correct way (#5501)
Some checks failed
Nix / Build (aarch64-darwin) (push) Has been cancelled
Nix / Build (x86_64-linux) (push) Has been cancelled
Nix / Build (aarch64-linux) (push) Has been cancelled
2026-08-17 16:18:12 +00:00
Alexandru Ionut Tripon
6aa2c3d7eb
fix: set entity state before emitting success (#5949) 2026-08-17 07:03:02 +00:00
Octol1ttle
8637546998
chore(nix): update lockfile (#5950) 2026-08-16 13:22:42 +00:00
github-actions[bot]
d211ed5c07 chore(nix): update lockfile
Flake lock file updates:

• Updated input 'nixpkgs':
    'https://releases.nixos.org/nixos/unstable/nixos-26.11pre1049422.f13ff45afd1b/nixexprs.tar.xz?narHash=sha256-CgKDSHL6rqAAQkkvg1xaZDQXb77%2B4XW73iGcUMJ%2B2w0%3D' (2026-08-07)
  → 'https://releases.nixos.org/nixos/unstable/nixos-26.11pre1053317.0e251e24a4f2/nixexprs.tar.xz?narHash=sha256-yjGG65gA1jORt0hWxjzrnw3AYkIn8EWolp8vezwXZ3I%3D' (2026-08-13)
2026-08-16 00:18:24 +00:00
Trial97
93feac2ed9
fix: set entity state before emitting success
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-08-15 22:07:24 +03:00
Octol1ttle
bcd87f2b89
Less settings saving (#5945) 2026-08-14 08:44:49 +00:00
Octol1ttle
c40a2077ed
Bump C++ standard to 23 (#5911) 2026-08-14 08:43:21 +00:00
Octol1ttle
8f8cbde9a7
Add conflict prompt to the Install Loader dialog (#5758) 2026-08-13 20:48:14 +00:00
Alexandru Ionut Tripon
fa61169bd9
Update launcher/ui/dialogs/InstallLoaderDialog.cpp
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2026-08-13 23:09:29 +03:00
Octol1ttle
b9b97f1347
fix: don't emit SettingChanged if the value didn't actually change
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-14 00:39:54 +05:00
Octol1ttle
57d4cc720a
fix: remove unnecessary resets during startup
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-14 00:39:54 +05:00
Alexandru Ionut Tripon
4527b9beca
Update cachix/install-nix-action digest to 13d8dd5 (#5943) 2026-08-13 19:36:09 +00:00
Alexandru Ionut Tripon
7a54e37bae
Fix manual refresh being skipped on active account (#5920) 2026-08-13 19:35:04 +00:00
Alexandru Ionut Tripon
5c3ffd4a56
The PR where I fix the typo (#5944) 2026-08-13 19:08:39 +00:00
Octol1ttle
4b4051aa61
This is the commit where I fix the typo
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-13 23:46:36 +05:00
renovate[bot]
65ba10beef
Update cachix/install-nix-action digest to 13d8dd5 2026-08-13 17:43:00 +00:00
Octol1ttle
d909e0205d
Set ModrinthInstanceCreationTask abortable to fix bug where you cant abort (#5933) 2026-08-12 13:58:59 +00:00
Octol1ttle
89272ace08
Avoid makeShared copying arguments (#5929) 2026-08-12 13:45:47 +00:00
Octol1ttle
6a0d55219c
fix: regenerate instance UUID on import (#5930) 2026-08-12 13:41:50 +00:00
Reuben Sonnenschein
7a1656e789 DCO Remediation Commit for Reuben Sonnenschein <137012810+frigtear@users.noreply.github.com>
I, Reuben Sonnenschein <137012810+frigtear@users.noreply.github.com>, hereby add my Signed-off-by to this commit: b81d2d064b

Signed-off-by: Reuben Sonnenschein <137012810+frigtear@users.noreply.github.com>
2026-08-11 22:10:37 -05:00
Reuben Sonnenschein
b81d2d064b Set ModrinthInstanceCreationTask abortable to fix bug where you cant abort it 2026-08-11 21:44:19 -05:00
Vishrut Sachan
a95d467fd9 fix: regenerate instance UUID on import
Signed-off-by: Vishrut Sachan <vishrutsachan2004@gmail.com>
2026-08-11 18:39:25 +05:30
TheKodeToad
5b42b9cd97
Avoid passing const reference into reference arg in FlameInstanceCreationTask
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-08-11 12:44:13 +01:00
TheKodeToad
e04ac17329
Implement perfect forwarding for makeShared
Seems the arguments stop being references and start being copied.
I don't understand why we need this since a template shouldn't
automatically remove the reference on a type (isn't that the whole point
of std::remove_reference?), but this is what is typically suggested and
it does compile.

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-08-11 12:40:23 +01:00
Alexandru Ionut Tripon
480223973d
refactor(net): fold Download/Upload into NetRequest (#5900) 2026-08-11 06:04:48 +00:00
Alexandru Ionut Tripon
d7870ff659
chore(nix): update lockfile (#5918) 2026-08-09 20:50:52 +00:00
cat
7704b1e6e5
Fix manual refresh being skipped on active account
Differentiate between manual user-initiated refreshes and
automatic ones, so that a manual refresh still works even
while there is a running instance on that account. This
kills the active instance's session, but if the user wants
to do this then we should not get in their way.

Closes: #5781
Signed-off-by: cat <cat@plan9.rocks>
2026-08-09 08:39:51 +00:00
github-actions[bot]
cc9a3abecd chore(nix): update lockfile
Flake lock file updates:

• Updated input 'nixpkgs':
    'https://releases.nixos.org/nixos/unstable/nixos-26.11pre1045728.148bab9c1c3c/nixexprs.tar.xz?narHash=sha256-xwSqxTsama0YTtS78%2B4YyCm6jJg09v78QWfP1cAyoVA%3D' (2026-08-01)
  → 'https://releases.nixos.org/nixos/unstable/nixos-26.11pre1049422.f13ff45afd1b/nixexprs.tar.xz?narHash=sha256-CgKDSHL6rqAAQkkvg1xaZDQXb77%2B4XW73iGcUMJ%2B2w0%3D' (2026-08-07)
2026-08-09 00:24:15 +00:00
Alexandru Ionut Tripon
d60fce6058
Tackle more excessive config saves (#5913) 2026-08-07 20:15:20 +00:00
Octol1ttle
25c7daa7ca
Add option to disable the cat (#5883) 2026-08-07 16:19:25 +00:00
Alexandru Ionut Tripon
f888b8da67
ResourceFolderModelTest: increase timeout to 10 seconds (#5912) 2026-08-07 15:51:29 +00:00
TheKodeToad
dc74e8acd7
Add Saving INI settings log message
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-08-07 15:48:14 +01:00
TheKodeToad
9f8ffb4cf9
Avoid always saving when loading instance settings
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-08-07 15:34:23 +01:00
TheKodeToad
1ec58e1d17
Avoid triggering saves in INISettingsObject::reload
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-08-07 15:19:58 +01: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
c429b345f0
Add persistent global playtime counter (#5881) 2026-08-07 13:42:46 +00:00
Octol1ttle
7a8b5d5b2d
Add setting to edit instance on double click (#5630) 2026-08-07 13:32:04 +00:00
Octol1ttle
6401a6d102
fix tab order
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-07 18:12:29 +05:00
Octol1ttle
b9c34532ad
remove temporary files
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-07 18:04:09 +05:00
Trial97
b25529e7eb
refactor(net): modernize NetRequest internals
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-08-07 15:00:20 +03:00
Trial97
adff4b3286
refactor(net): fold Download/Upload into NetRequest
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-08-07 15:00:20 +03:00
Octol1ttle
2363e3b0d0
TranslationsModel: "resolve" C++23 TODO
Is clang-tidy bugging out again?? It doesn't mind comparing two enums and suggests that I just use std::max. Ok, then.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-07 16:23:21 +05:00
Octol1ttle
c53aa9db91
ModrinthInstanceCreationTask: fix compile error
Compiler behavior appears to be different in C++23. Defining the constructor before the type contained within a unique pointer is defined no longer works.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-07 15:59:03 +05:00
Octol1ttle
9226ecef1c
change: bump C++ standard to 23
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-07 15:55:43 +05:00
Alexandru Ionut Tripon
af628b7e85
Fix JavaChecker UAF (#5903) 2026-08-07 07:01:50 +00:00
Vishrut Sachan
601101555f Merge remote-tracking branch 'upstream/develop' into feature/global-playtime-counter
Signed-off-by: Vishrut Sachan <vishrutsachan2004@gmail.com>

# Conflicts:
#	launcher/InstanceList.h
2026-08-07 10:25:55 +05:30
TheKodeToad
1c050538de
Fix JavaChecker UAF
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-08-06 15:42:18 +01:00
Alexandru Ionut Tripon
dc2d671fdd
Change ModrinthAPI and FlameAPI to singletons to avoid lifetime issues (#5901) 2026-08-06 14:18:40 +00:00
TheKodeToad
0c5e0f5a51
Make ModrinthAPI and FlameAPI singletons
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-08-06 13:24:50 +01:00
TheKodeToad
63505ffe1f
Make all ResourceAPI methods const
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-08-06 13:02:50 +01:00