Commit Graph

712 Commits

Author SHA1 Message Date
64890ac263 gpu tests: the unsigned view of the implicit 2D integer sample row (#5900)
Squash-merged after review of PR #5900 - GPU test: the unsigned view of the implicit 2D integer sample row, GPU-checked on Intel UHD 630
2026-11-23 08:08:11 -06:00
9b13eeade7 check_no_game_data: catch PSIN/PAMH/MHIU/SPS1/SGD5/RDS5/AWC/YSC containers (#6311)
Squash-merged after review of PR #6311 - check_no_game_data: catch PSIN/PAMH/MHIU/SPS1/SGD5/RDS5/AWC/YSC containers
2026-11-23 08:06:49 -06:00
94083ce363 ci_expected_failures: --help works and a bad argument is one error line with exit 2 (EGEN-CIEXPECTED-CLI) (#6320)
Squash-merged after review of PR #6320 - ci_expected_failures: --help works and a bad argument is one error line with exit 2 (EGEN-CIEXPECTED-CLI)
2026-11-23 08:06:41 -06:00
561b65a832 Merge remote-tracking branch 'origin/main' into triage-r44
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	.github/workflows/runtime.yml
#	tests/test_first_look_shim_report.py
2026-11-23 06:28:03 -05:00
0e5ccb8c4a Round 44 test clashes: run_gpu_tests reports a --work it cannot create (#4544's message), the readback test pins the PerVertexKHR fallbacks off, ttpf listings skip the decoder record, image_fuzz refuses a file --work before opening the oracle (#4087)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 04:31:07 -05:00
6bf3b7d281 Revert #3920 (held for the maintainer): it makes docs/design.md a file generated from docs/contracts/*.json
The generated page was already out of step with this round's rows (test_design_contracts), and the PR also
changes AGENTS.md, the PR template, ci.yml and adds an agent skill. docs/design.md keeps its current rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 04:16:51 -05:00
902358c8aa tools/exe_checklist.py: every ASSUMPTION / UNVERIFIED / VERIFY note in one list for the exe's first look
Collects the marked notes of runtime/src, runtime/shims and docs/*.md with file
and line, each from its marker to the end of its comment run or list item
(trailing 'see the header' comments are left out). Given gdk_runtime_calls'
JSON, a shim's notes are marked called / not called by whether the executable
calls a class that file serves, called first. first_look.ps1 writes
reports/exe/<name>/checklist.md. tests/test_exe_checklist.py: 6 tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:00:14 -05:00
ec34b54fe1 Runtime: offline XGameEventImpl, XGameUiImpl, XGameStreamingImpl
XGameEventWrite succeeds and drops the event (LEONIDA_LOG_GAME_EVENTS=1 logs
them). A message or error dialog has no screen: its title, text and buttons go
to the log and it completes with the default button, so an error the game
shows at boot is readable. Other UIs fail before starting. Streaming: never
streamed, no clients, a connection-state token that never fires; per-client
slots answer E_GAMESTREAMING_NOT_INITIALIZED, whose low byte reads false for a
bool caller. Ids and slot order from xgameruntime-docs, signatures from the
GDK reference; two parameter lists marked ASSUMPTION.

xgameruntime_offline_test: 18 checks. ctest 162/162.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:52:45 -05:00
594f3485ee Runtime: offline XStoreImpl (the game license, package licenses, empty queries)
A GDK title checks its license at boot. QueryApiImpl now serves XStoreImpl
(IXStoreImpl..6, 84 slots from xgameruntime-docs' layout; signatures from
the public GDK reference): the game license is active and not a trial,
package licenses are acquirable and valid, no add-ons, no products, no
package updates; license-changed/lost registrations hand out tokens and
never fire. Purchases, consumables, tokens, downloads and store UIs fail
before starting (E_FAIL, logged once); the undocumented slots answer
E_NOTIMPL.

UNVERIFIED: STORE_SKU_ID_SIZE 18, SKU_ID_SIZE 5, TRIAL_UNIQUE_ID_MAX_SIZE
64 (XStoreGameLicense 104 bytes) - the public pages give no values; to be
confirmed against the executable before a boot relies on them.

xgameruntime_store_test: 22 checks. ctest 161/161.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:45:20 -05:00
de67135246 Runtime: offline XGameSaveImpl (save provider, containers, blobs, updates)
A GDK title opens its save provider at boot; QueryApiImpl now serves
XGameSaveImpl (IXGameSaveImpl..3, 33 slots from xgameruntime-docs' layout,
signatures and error codes from the public GDK reference). Saves are files
in LEONIDA_SAVE_DIR\local-user\<container>\<blob> (default
%LOCALAPPDATA%\Leonida\saves), %-encoded: the layout tools/saves.py import
already writes. Updates are buffered and committed by write-then-rename;
container names follow the documented rule; the 16 MB update limit, the
documented E_GS_* codes, async variants through XAsync, and the
XGameSaveFiles folder/quota slots. Assumptions (quota, blob-name length,
nullptr blob list) are marked in the source and docs.

xgameruntime_gamesave_test drives every slot (50 checks). The two tests that
used XGameSaveImpl's id as "a class not served" now use a made-up id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:38:01 -05:00
7dbaa0409a Repo rules after round 44: stdout guards on 13 programs, newline= on four text writes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:25:51 -05:00
12a7c6b0e7 Merge pull request #4617 from Lucas
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:28 -05:00
398f41f134 Merge pull request #4606 from AGInformatique81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:22 -05:00
f3b596a1f8 Merge pull request #4602 from Emma
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:20 -05:00
3997f54004 Merge pull request #4589 from ligmaSec
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:12 -05:00
a2e5b153b0 Merge pull request #4560 from mohamedsaad.lahlou
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:56 -05:00
3d713526ea Merge pull request #4547 from AGInformatique81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:48 -05:00
f71c9c1d77 Merge pull request #4544 from AGInformatique81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:46 -05:00
0744b86447 Merge pull request #4542 from d7ommy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:15:45 -05:00
16ce9a5eee Merge pull request #4524 from AGInformatique81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:35 -05:00
2f2e18c789 Merge pull request #4412 from AGInformatique81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:30 -05:00
a995c2a177 Merge pull request #4340 from fladit123
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:13:49 -05:00
33531bda5b Merge pull request #4262 from gabsilvs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:54 -05:00
222250dd83 Merge pull request #4240 from Exopus
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:40 -05:00
68ac20877b Merge pull request #4225 from 73N1X
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:12:31 -05:00
4af6840ddb Merge pull request #4198 from Exopus
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:14 -05:00
7e653eb9a3 Merge pull request #4103 from Exopus
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:11:18 -05:00
851e609081 Merge pull request #4079 from ligmaSec
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:11:04 -05:00
67f00bb66c Merge pull request #4040 from Exopus
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:41 -05:00
05345bedc8 Merge pull request #4034 from Stalkerino
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:37 -05:00
77bac1a8e8 Merge pull request #4031 from 0xTehuti
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:35 -05:00
64f3dc1a6d Merge pull request #4020 from bbareth
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:27 -05:00
938d360265 Merge pull request #3986 from nicolas
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:11 -05:00
bc29c6c953 Merge pull request #3970 from Jonathan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:02 -05:00
152acd7a79 Merge pull request #3920 from Leonida Proto
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:09:34 -05:00
54f96820d8 Merge pull request #3905 from João Ramos
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:09:26 -05:00
3baa73a913 Merge pull request #3899 from bbareth
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:09:22 -05:00
51155bc63a Merge pull request #3890 from bbareth
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:09:15 -05:00
e2ecb50cf1 Merge pull request #3855 from Oleg Makarov
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:56 -05:00
21c1d00b0f Merge pull request #3792 from Vonsek
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:29 -05:00
0f37a1f5cc Merge pull request #3785 from Emma
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:27 -05:00
b353e81bc7 Merge pull request #3354 from Matheus Gomes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:07:21 -05:00
05b6338fc4 Merge pull request #3338 from kapitche
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:07:18 -05:00
af1d6a744f Merge pull request #3004 from Moaaz Gewili
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
#	docs/testing.md
2026-11-22 23:06:38 -05:00
c11eec4e7c Merge pull request #2998 from kapitche
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:36 -05:00
5987f76295 Merge pull request #2909 from Jolymmiles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:23 -05:00
7a1e3193ea Merge pull request #2717 from Wasler
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:01 -05:00
3732d3976c Merge pull request #2646 from Dandasma
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:49 -05:00
726cb9c697 Merge pull request #2494 from Vonsek
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:05:43 -05:00
2a7d93ebb7 Merge pull request #2220 from Vonsek
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:25 -05:00