Commit Graph

10243 Commits

Author SHA1 Message Date
TheKodeToad f90c0a59a7 Remove Json ensure helpers (#4330) 2025-11-13 19:45:01 +00:00
Alexandru Ionut Tripon dd295aaf1e Use multi-config generator for CMake presets (#4301) 2025-11-13 20:21:40 +02:00
Seth Flynn b5964b0c3a ci(package/windows): use absolute paths for signed files (#4350) 2025-11-13 06:43:54 -05:00
Seth Flynn 4b6fab06d8 ci(package/windows): use absolute paths for signed files
This is (weirdly) required by the Trusted Signing action

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-13 06:40:00 -05:00
Seth Flynn 908032f033 Sign Windows builds again (#4348) 2025-11-13 06:29:59 -05:00
Seth Flynn b819be49cd ci: sign windows builds through azure
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-13 06:07:59 -05:00
Seth Flynn a9f27ef075 Use libqrencode for MSA QR codes (#3956) 2025-11-13 05:11:38 -05:00
Seth Flynn 83b4a31144 build(vcpkg): use a minimal libqrencode build
`libpng` in vcpkg doesn't have the right patches (libpng@ed68998) to
build with universal binary support on macOS, so let's avoid building it
(we need to bump our baseline for this too)

Thanks for letting me know it was optional, Kode :)

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-13 04:13:02 -05:00
Seth Flynn 3b9e020115 feat(ui/MSALoginDialog): use libqrencode for qr codes
`qrcodegen` isn't available in most repositories, package discovery
scripts for it are maintained in a different repository, and they are
bugged for Windows at least. This basically forces us into vendoring it,
which isn't cool; libqrencode seems like viable alternative used by many
more apps

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-13 04:12:52 -05:00
TheKodeToad 29bb9fe9f3 Revert some things caught in the crossfire
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-10 19:01:24 +00:00
TheKodeToad 51a1e3bfe0 Merge remote-tracking branch 'upstream/develop' into no-ensure
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-10 18:56:32 +00:00
TheKodeToad ff1690532d fix mod select (#4305) 2025-11-10 16:55:21 +00:00
TheKodeToad 79fddf8a86 Remove icon from PageContainer header
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-10 00:03:30 +00:00
TheKodeToad 6475ce6623 Remove some redundant default values
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 22:21:46 +00:00
TheKodeToad 755ddd0f7f Remove traces of ensure helpers
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 21:35:21 +00:00
TheKodeToad e42c9d2a1d Remove ensure JSON helpers
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 21:35:11 +00:00
Alexandru Ionut Tripon b070ffaf72 Fix modpack search abort crash (#4327) 2025-11-09 23:17:55 +02:00
Alexandru Ionut Tripon 2563e280a4 fix: declare the flame icon like the others in multimc.qrc (#4326) 2025-11-09 23:17:40 +02:00
Alexandru Ionut Tripon 89edc7c826 chore: update to latest version of sparkle framework (#4325) 2025-11-09 23:17:18 +02:00
Alexandru Ionut Tripon ca3cadc377 chore(nix): update lockfile (#4324) 2025-11-09 23:17:04 +02:00
Alexandru Ionut Tripon 20896855cc Cleanup main.cpp (#4318) 2025-11-09 23:16:54 +02:00
Alexandru Ionut Tripon fe01aabc10 Fix fractional scaling issues on skin preview (#4310) 2025-11-09 23:15:59 +02:00
Alexandru Ionut Tripon 609aa9f7f3 fix crash when failing to download file (#4249) 2025-11-09 23:08:20 +02:00
TheKodeToad 80db7437d0 Ensure correct image format when importing skin files (#4053) 2025-11-09 21:00:56 +00:00
Kenneth Chew d937563ead Pick out additional fixes, functionality to SecurityBookmarkFileAccess
Match the state of this class with the current state of the macOS sandbox PR

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-11-09 14:43:57 -05:00
Kenneth Chew efe1d71d35 Generate security-scoped bookmarks on startup
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-11-09 14:43:57 -05:00
Kenneth Chew 710789b701 Use security-scoped bookmarks to keep track of data directory settings on macOS
This enables sandboxed apps to maintain access to user-selected items. In addition, for both sandboxed and nonsandboxed apps it can keep track of directories even if they are moved or renamed, and can remember access to directories in "sensitive" locations (such as the Documents folder or external drives).

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-11-09 14:43:55 -05:00
TheKodeToad 98afd2086a Make sure nullptr on_abort never gets called
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 10:52:24 +00:00
TheKodeToad df35d5eb14 Fix crash when modpack search is aborted
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 10:44:23 +00:00
DioEgizio 00eef96f48 fix: declare the flame icon like the others in multimc.qrc
this fixes the flame icon not rendering on macOS with recent versions of Qt

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2025-11-09 10:43:36 +01:00
DioEgizio 42b53504be chore: update to latest version of sparkle framework
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2025-11-09 09:01:24 +01:00
github-actions[bot] e3be434e94 chore(nix): update lockfile
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15?narHash=sha256-kJ8lIZsiPOmbkJypG%2BB5sReDXSD1KGu2VEPNqhRa/ew%3D' (2025-10-31)
  → 'github:NixOS/nixpkgs/ae814fd3904b621d8ab97418f1d0f2eb0d3716f4?narHash=sha256-YRqMDEtSMbitIMj%2BJLpheSz0pwEr0Rmy5mC7myl17xs%3D' (2025-11-05)
2025-11-09 00:29:30 +00:00
Dylan Schooner 1fa486a795 Extend Ctrl+C functionality to requiredByItem and customPathItem
Refactor appendResource to remove redundant insertChildren calls

Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-11-08 10:55:34 -05:00
TheKodeToad 3a80dd10ea Cleanup main.cpp
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-08 15:38:27 +00:00
Tayou 7e8cf628e8 Override Ctrl+C functionality for ReviewMessageBox items (#4313) 2025-11-08 07:47:35 +01:00
Dylan Schooner a16026828e Move shortcut connection to constructor
Add copy functionality for changelog on ResourceUpdateDialog

Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-11-07 13:40:54 -05:00
Dylan Schooner 6f4460b604 Apply override to ResourceUpdateDialog::appendResource
Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-11-07 02:30:45 -05:00
Dylan Schooner 8c0e8a319b Overwrite Ctrl+C functionality for ReviewMessageBox items
Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-11-07 00:53:41 -05:00
Dylan Schooner 405650eff2 Fix fractional scaling issues
Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-11-06 20:00:22 -05:00
Seth Flynn 1e4e3fd914 build(cmake): match ninja multi-config for compile commands
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-06 17:41:22 -05:00
Seth Flynn 85d6e03a4e build(cmake): always emit compile commands
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-06 17:41:21 -05:00
Seth Flynn 650ecb0bde build(cmake): centralize preset files
Now that we don't need so many variants for each platform, this is much
more sensible

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-06 17:41:21 -05:00
Seth Flynn ffdf00876e build(cmake): use mutli-config generators for debug/release presets
This prevents us from hardcoding variants for each release type. Yay!

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-06 17:41:21 -05:00
Seth Flynn c5c12ae8ce Build for Windows on ARM with MSVC natively (#3872) 2025-11-06 17:39:12 -05:00
Tayou 9c38719170 program_info: fix macOS icon generation, use AppID in desktop file template (#4164) 2025-11-06 13:45:09 +01:00
Tayou c5b5b02621 Implement Reverse Z projection matrix for skin model (#4283) 2025-11-06 13:42:50 +01:00
timoreo f835d00f77 Check return value of 'QFile::open(QIODeviceBase::OpenMode)' (#4274) 2025-11-06 09:47:33 +01:00
timoreo a34cdf0519 chore(nix): update lockfile (#4256) 2025-11-06 09:39:45 +01:00
timoreo c8911f9f70 Fix Java memory field alignment when warning label is visible (#4303) 2025-11-06 09:32:35 +01:00
Seth Flynn bc02af771d ci: build for windows on arm with msvc natively
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-06 02:27:34 -05:00