Commit Graph

293 Commits (5fd366809053fe287291de7a39752c4d5d5b146b)

Author SHA1 Message Date
Stenzek 5fd3668090
Achievements: Don't double-free login callback on request failure
Callback always runs.
1 month ago
Stenzek b2f9c8fba9
Misc: Fix deprecated implicit conversion of fstring->string_view 1 month ago
Stenzek 04f4f1ba2d
Achievements: Respond to RAIntegration reset request 1 month ago
Stenzek 9f9009d640
Achievements: Ensure callbacks run on core thread for RAIntegration
They seem to always be executing in a thread pool currently...
1 month ago
Stenzek 232c9ad9fb
Achievements: Make password login asynchronous
Gets rid of the wait-for-all-requests which fails with RAIntegration.

Also cleaner, the less blocking the better.
1 month ago
Stenzek e175c84227
Bus: Pack state in struct 2 months ago
Stenzek 2688a1dfcd
Achievements: Fix possible read past end of memory in callback 2 months ago
Davide Pesavento f6c4fe9877
Achievements: Rename softcore to casual (#3779)
https://news.retroachievements.org/issues/2026-06/community-news.html#softcore-renaming
https://github.com/RetroAchievements/RAWeb/pull/5015
2 months ago
Stenzek eb4b87cfa8
Achievements: Fix inverted condition for new game additions 2 months ago
Stenzek eeda898c23
Achievements: Separate login and progress requests
Makes the login request complete quicker if achievements are enabled.
3 months ago
Stenzek 59247c84b9
Achievements: Move game hash calculation to system
Saves reading the executable a second time.
3 months ago
Stenzek 6194f08a99
Achievements: Always identify game on startup 3 months ago
Stenzek 5d46613107
Achievements: Centralize profile URL building 3 months ago
Stenzek a3dbace1a3
Hotkeys: Display reason why rewind is unavailable 3 months ago
Stenzek 1cce275db3
Achievements: Don't update game database on disc change 3 months ago
Stenzek a05171d089
Achievements: Fix crash in database updates on unknown media change 3 months ago
Stenzek e9bd041e21
Achievements: Add missing DB load check in a couple of places 3 months ago
Stenzek cfde5bf5c3
Achievements: Move achievement pinning to database 3 months ago
Stenzek 98ec05550d
Achievements: Swap to sqlite-backed storage 3 months ago
Stenzek cae25968fe
Achievements: Move init functions to private header 4 months ago
Stenzek 944beca2ce
Achievements: Populate saved credentials in ProcessStartup()
Avoids has_saved_credentials not being ready when game list is
refreshing in parallel with core thread startup.
4 months ago
Stenzek 8bf9562c3a
Achievements: Fix hardcore toggle not showing summary 4 months ago
Stenzek 134f172395
Achievements: Don't tear down persistent state on enable toggle
Not super relevant at the moment outside of the hashdb.
4 months ago
Stenzek e23bc84bb9
Achievements: Always prefetch game badge before achievement badges 4 months ago
Stenzek 5a21a6c8df
Host: Add icon to ConfirmMessageAsync()
And use it for achievements.
4 months ago
Stenzek 29ba624f28
HTTPDownloader: Convert to namespace
No virtual calls, and we can notify the host when the state changes to
reduce request latency.
4 months ago
Stenzek 6e58776342
Achievements: Use request owner for waiting for server calls
Less book-keeping.
4 months ago
Stenzek 5b446d702a
HTTPDownloader: Add owner tracking to requests
Allow finer-grained cancellation.
4 months ago
Stenzek e903ff7169
HTTPCache: Remove downloader mutex
The downloader itself has a mutex, so we can rely on that if we're
careful.
4 months ago
Stenzek f2e629f7e1
Achievements: Fix game not loading after token-expired late login 4 months ago
Stenzek 6513e47784
Achievements: Add progress indicator mode option
Show the title by default.
5 months ago
Stenzek 0b6d41e634
Achievements: Don't defer badge prefetch on game load
No longer needed since I'm counting requests.
5 months ago
Stenzek cc1775f0be
System: Move Discord presence into its own file 5 months ago
Stenzek 0f51249967
Achievements: Fix null pointer check in BeginRefreshHashDatabase() 5 months ago
Stenzek 0fcf4cce1c
Achievements: Defer game list data update
Avoids more potential deadlocks.
5 months ago
Stenzek c7702bc9d7
Achievements: Make game badge cache internal
Fixes potential deadlocks from locking order with game list.
5 months ago
Stenzek ec2101fe22
Achievements: Rename game icon -> game badge
Consistency.
5 months ago
Stenzek fa4a3eadd2
Achievements: Cache whether we have saved credentials
Fixes double-lock assert when changing postfx settings.
5 months ago
Stenzek d3b174ab4c
FullscreenUI: Disable postfx in loading screen 5 months ago
Stenzek fc017569bb
GameList: Only use lookup achievements icons if logged in
In other words, you need a RetroAchievements account to get access to
the badges.
5 months ago
Stenzek 32ab1b70f9
Achievements: Use HTTP cache instead of loose files 5 months ago
Stenzek 1c407c58d1
Achievements: Use HTTPCache's downloader 5 months ago
Stenzek 7d24e64e51
HTTPDownloader: Support setting timeout per-request 5 months ago
Stenzek 9275e1ad77
Achievements: Add RA SVG icon variant
Can't be used for everything.
5 months ago
Stenzek a6f7ff6846
Achievements: Supply error message for non-HTTP client errors
Avoids rc_client reading off the end of a non-null terminated string.
6 months ago
Stenzek 89d7579e5f
Achievements: Disable encore mode when spectator enabled
All achievements are unlocked when spectator mode is enabled anyway.
6 months ago
Stenzek 48a403b8ab
Achievements: Display a warning when spectator/encore mode is enabled 6 months ago
Stenzek 58b309fec4
Achievements: Store pinned achievements sorted
Use binary search for lookup, now that we're querying it for every
unlocked achievement in the list.
6 months ago
Stenzek 7b2fb0f157
Achievements: Clear OSD state before rc_client_unload_game()
Fixes challenge failed notifications showing on shutdown.
7 months ago
Stenzek 8d01053319
Achievements: Add pinning of measured achievements 7 months ago