Skip to content

libobs: extract obs_sceneitem_set_order verbatim (Refs #5648) - #5650

Merged
zackees merged 2 commits into
masterfrom
port/5648-sceneitem-set-order-extract
Nov 25, 2026
Merged

zackees merged 2 commits into
masterfrom
port/5648-sceneitem-set-order-extract

Conversation

@zackees

@zackees zackees commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Refs #5648

Moves obs_sceneitem_set_order verbatim from obs-scene.c.h into obs-scene-item-set-order.c.h in the same core-source unity group. Static declarations retain the existing lock, detach/attach and reorder-signal helpers in that translation unit. Function bytes, signature, reference handling, list updates and signal order are unchanged. This prerequisite contains no Rust or test-graph change; a later Rust swap follows after the extraction lands.

The existing direct test_scene_canvas_characterization::scene_item_set_order covers NULL input, all four movements, top/bottom boundaries, ordered positions and reorder signal counts. It is reused unchanged, with no new characterization PR, existing C-test edits, public-header changes or feature-ledger entry.

RED 37711d8 moves the function without registering its implementation: ci/test_build_groups.py fails specifically on the orphan obs-scene-item-set-order.c.h. GREEN dd2ee32ac (published as 1bf466a after stamping) adds the alphabetically ordered include and passes all 10 build-group checks. Byte comparison against the original function passes. git merge-tree --write-tree against neighboring #5630 head 15ce231 succeeds.

Pristine baseline Linux validation passed the existing scene canvas characterization, canvas move and scene-list removal fixtures three repetitions each on BOTH libobs-c-reference and hybrid libobs. Loader selection was verified, no tests skipped, and all 1769 exported symbols matched. A single-agent clud-review found no issues: exact function bytes, helper declarations, alphabetic registration and unchanged operation ordering. Final extraction replay also passed all three fixtures three repetitions each on BOTH backends, with verified loader selection, no skips and 1769 identical exports (local-test-yrPbZx.log; baseline local-test-OqHFAP.log). Full SOLDR_PORCELAIN=0 ./lint passed in 191.3 s (local-test-IbA0Hg.log). Windows category links passed (55.75 s). Standard Windows MSVC x86_64 and Darwin arm64 checks each linked hybrid libobs plus all 83 configured Rust-static cmocka fixtures (241.76 s / 104.69 s, explicit exit 0 for both aliases and their combined normal run). The supplemental existing test_scene_canvas_characterization target also linked on Windows. Its Darwin cross compile failed before linking because the unchanged target registration does not supply simde/x86/sse2.h; the overall supplemental wrapper therefore exited 1. No graph or C test is changed to address that preexisting registration gap. Evidence: local-test-93FP0X.log, normal success lines 153/453/454, supplemental results 458/472 and missing-header diagnostic 467. These are cross links, not native Windows/macOS runtime runs. Tiers 1/3 introduce no Rust change; this is the separate C extraction prerequisite, and native hosted Tier 2 remains required. Tier 4 has no protocol change to test.

Final six-target client-lint passed in 19.7 s through ./push; missing xmllint retained ordinary hosted CI. Fresh merge-tree against master 1674f79 (which includes #5620) also passed.

HOLD: backpressure is closed due runner starvation (latest exit 75: runner wait 56 minutes), and the claim bot has not accepted the pending claim yet. Keep this PR DRAFT and unarmed until admission reopens and the landing worker verifies the exact head and accepted claim. No hosted-CI wait is performed by this pool worker.

Ci-Attestation: {"at":1795610225,"gate":"general/all/client-lint","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"cc08cec8ea9d79358517bcb440196d39","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610226,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"a24c846a1efa7376ad26afdf5803c222","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610226,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"86bd399417e00b69d8fb6babd97ed341","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610226,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"835818b1a34ce3a842b10e2024b6c62d","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610226,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"4e7b5bc6c7710e07e138066bf4797d04","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610226,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"932ef9a88846a90aea3c6d4cb8fb4fa8","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610226,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"edcc220e3b83d6530213665b49c9597a","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610226,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"640a4bd99847ce0e380ccb425cbc4b4e","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610226,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"f1b588a8632d480324da09645e158e85","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610226,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"4b69964b1012772bd40031fc590e86ad","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610226,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"e1ebb795454aceca638231f6e2f8fa78","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610225,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"5592337167400aa708dbd4b21f543c03","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
Ci-Attestation: {"at":1795610225,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"b3df76d1caffd5cd16c015aca45db248c25cfb8258f675e211a6906b1fba8c2b","lane":"client-lint","parents":["37711d891aa7af2615808096eeb5eeefcec1729a"],"secs":19,"stamp":"9774d050a524ba85b1f66666d8d3357e","tree":"7ab17ef939b68c70cce9a9a014f3ea107da9ac3e","v":1,"via":"run"}
@zackees zackees added the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 25, 2026
@zackees zackees changed the title libobs: register verbatim scene-item set-order extraction (Refs #5648) libobs: extract obs_sceneitem_set_order verbatim (Refs #5648) Nov 25, 2026
@zackees zackees removed the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 25, 2026
@zackees
zackees marked this pull request as ready for review November 25, 2026 18:43
@zackees
zackees added this pull request to the merge queue Nov 25, 2026
@obs-rust-project-manager obs-rust-project-manager Bot moved this to In merge queue in obs-rust Multiview Nov 25, 2026
Merged via the queue into master with commit 5691f43 Nov 25, 2026
48 checks passed
@zackees
zackees deleted the port/5648-sceneitem-set-order-extract branch November 25, 2026 21:21
@obs-rust-project-manager obs-rust-project-manager Bot moved this from In merge queue to Done in obs-rust Multiview Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant